projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d48969
)
(current_lock_owner): Allow for @ sign in username.
author
Jason Rumney
<jasonr@gnu.org>
Mon, 23 Jul 2007 22:35:05 +0000
(22:35 +0000)
committer
Jason Rumney
<jasonr@gnu.org>
Mon, 23 Jul 2007 22:35:05 +0000
(22:35 +0000)
src/filelock.c
patch
|
blob
|
history
diff --git
a/src/filelock.c
b/src/filelock.c
index 689a80a4209cab29e1df1377b6c0f86985e1a460..d654964e0fa32e1f1508988d9ade14f83e423b2b 100644
(file)
--- a/
src/filelock.c
+++ b/
src/filelock.c
@@
-468,8
+468,8
@@
current_lock_owner (owner, lfname)
}
/* Parse USER@HOST.PID:BOOT_TIME. If can't parse, return -1. */
- /* The USER is everything before the
fir
st @. */
- at = index (lfinfo, '@');
+ /* The USER is everything before the
la
st @. */
+ at =
r
index (lfinfo, '@');
dot = rindex (lfinfo, '.');
if (!at || !dot)
{